package com.zpark.pojo;

/**
 * @PackageName: com.zpark.pojo
 * @ClassName: Student
 * @Description:
 * @author: RZS
 * @date: 2021/8/15  21:26
 */
public class Student {
    private String name;
    private String location;
    private Integer age;

    public Student(String name, String location, Integer age) {
        this.name = name;
        this.location = location;
        this.age = age;
    }

    public Student() { }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", location='" + location + '\'' +
                ", age=" + age +
                '}';
    }
}
